package cn.ly.core.enum1;

public abstract class DirectionEnum {
	
	public DirectionEnum(String name){
		
	}

	public static final DirectionEnum FRONT = new DirectionEnum("前"){
		@Override
		public void show() {
			System.out.println("前");
		}
		
	};
	public static final DirectionEnum Back = new DirectionEnum("后"){
		@Override
		public void show() {
			System.out.println("后");
		}
		
	};
	public static final DirectionEnum LEFT = new DirectionEnum("左"){
		@Override
		public void show() {
			System.out.println("左");
		}
		
	};
	public static final DirectionEnum RIGHT = new DirectionEnum("右"){
		@Override
		public void show() {
			System.out.println("右");
		}
		
	};
	
	public abstract void show();
	
}
